import Layout from '@/views/layout/frame/Layout.vue'

export default [
  // 视频监控
  {
    path: '/video',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    name: 'video',
    meta: {
      title: '视频监控',
      icon: 'iconfont icon-camera',
      roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'TENANT_SUPPORT']
    },
    children: [
      {
        path: 'realTimeVideo',
        name: 'realTimeVideo',
        meta: { title: '监控中心', icon: 'iconfont icon-camera' },
        component: () => import('@/views/videoManage/realTimeVideo.vue')
      },
      {
        path: 'videoManage',
        name: 'videoManage',
        meta: { title: '摄像头管理', icon: 'iconfont icon-camera' },
        component: () => import('@/views/videoManage/index.vue')
      }
    ]
  }
]
